/*
 * Copyright (c) 2018-2999 广州亚米信息科技有限公司 All rights reserved.
 *
 * https://www.gz-yami.com/
 *
 * 未经允许，不可做商业用途！
 *
 * 版权所有，侵权必究！
 */

package com.yami.shop.bean.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel(value = "设置用户信息")
public class UserRegisterParam {

    @ApiModelProperty(value = "昵称")
    @NotBlank
    private String nickName;

    @ApiModelProperty(value = "手机号")
    @NotBlank
    private String userMobile;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "完整的头像图片路径")
    /*@NotBlank*/
    private String pic;

    @ApiModelProperty(value = "用户年龄")
    @NotNull
    private Integer age;

    @ApiModelProperty(value = "性别 M(男) or F(女)")
    @NotBlank
    private String sex;

    @ApiModelProperty(value = "自我介绍")
    private String introduction;

    @ApiModelProperty(value = "生日 例如：2009-11-27")
    @NotBlank
    private String birthDate;


    @ApiModelProperty(value = "身高cm")
    @NotNull
    private Integer height;
    @ApiModelProperty(value = "体重 斤")
    @NotNull
    private Double weight;

    @ApiModelProperty(value = "验证码")
    @NotBlank
    private String code;

    @ApiModelProperty(value = "生成的个人邀请码")
    private String invitatioCode;

    @ApiModelProperty(value = "上级邀请码")
    private String uppInvitatioCode;

    @ApiModelProperty(value = "标签 逗号连接")
    @NotBlank
    private String userLabels;

    @ApiModelProperty(value = "省")
    @NotBlank
    private String province;

    @ApiModelProperty(value = "市")
    @NotBlank
    private String city;

    @ApiModelProperty(value = "区")
    @NotBlank
    private String area;

    @ApiModelProperty(value = "二维码")
    @NotBlank
    private String qrCode;

    @ApiModelProperty(value = "人脸照片路径")
    private String identityPic;

    @ApiModelProperty(value = "微信号")
    private String wxId;


}
